package com.hz.web.service.impl;


import com.hz.web.entity.UserBean;
import com.hz.web.dao.UserMapper;
import com.hz.web.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by kaddddd on 2018/5/9 0009.
 */
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    UserMapper userMapper;

    public UserBean findUserByName(String userName){
        return userMapper.findUserByName(userName);
    }
}
